Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(twap): hide learn more link #2815

Merged
merged 3 commits into from
Jul 10, 2023
Merged

fix(twap): hide learn more link #2815

merged 3 commits into from
Jul 10, 2023

Conversation

nenadV91
Copy link
Contributor

@nenadV91 nenadV91 commented Jul 7, 2023

Summary

Hides learn more text from Unlock screen on advanced orders
Source https://cowservices.slack.com/archives/C0361CDG8GP/p1688740674594089

Screenshot 2023-07-07 at 16 47 09

To test

  • go to advanced orders
  • make sure there is no learn more link in Unlock screen

@vercel
Copy link

vercel bot commented Jul 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
swap-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback

🌃 Cosmos ↗︎

</span>
{showLink && (
<span>
Learn more about <ExternalLink href={buttonLink}>{orderType} orders ↗</ExternalLink>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not making buttonLink optional param instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this way, we just need to not specify the URL until is available

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion, will update.

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM besides the question I mentioned in #2803 (review)

And maybe we should remove 'new' from the Limit orders Unlock screen?
image

@anxolin
Copy link
Contributor

anxolin commented Jul 7, 2023

The new doesn't bother me personally, but maybe you are right.
It's like CEREALS commercials, now with 8 vitamins, when they always had them.

Fine to remove too, no preference

@nenadV91 nenadV91 merged commit 251f56a into develop Jul 10, 2023
10 of 12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2023
@alfetopito alfetopito deleted the twap/hide-learn-more-link branch July 10, 2023 12:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants